var Mock = require('mockjs');

exports.response = function (req, res) {
    return Mock.mock({
        "msg": "OK", 
        "code": 0, 
        "data": {
            "list": [
                {
                    "name": "总资产", 
                    "firstMoney": 0.09, 
                    "lastMoney": 0.12, 
                    "id": "totalAssets", 
                    "increase": -0.07
                }, 
                {
                    "name": "净资产", 
                    "firstMoney": 0.09, 
                    "lastMoney": 0.08, 
                    "id": "netAssets", 
                    "increase": -0.07
                }, 
                {
                    "name": "负债", 
                    "firstMoney": 0, 
                    "lastMoney": 1.26, 
                    "id": "debt", 
                    "increase": 0
                }
            ], 
            "fieldList": [
                {
                    "name": "组合资产规模", 
                    "id": "name"
                }, 
                {
                    "name": "期初金额/亿", 
                    "id": "firstMoney"
                }, 
                {
                    "name": "期末金额/亿", 
                    "id": "lastMoney"
                }, 
                {
                    "name": "较上期/亿", 
                    "id": "increase"
                }
            ]
        }
    })
}